package org.lanplay.server.model;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Entity
@Data
@EqualsAndHashCode(callSuper=true)
@Table(uniqueConstraints=@UniqueConstraint(columnNames="KEY"))
public class User extends BaseVersionedIdentifiable {
	private static final long serialVersionUID = 1L;

	public User() {}
	
	public User(Long id) {
		setId(id);
	}

	
	private String key;
	private String name;
	private String password;
}
